package com.allwees.bs.module.fms.dao;

import com.allwees.bs.module.fms.entity.MerchantAccount;
import com.allwees.core.dao.mybatis.dao.BaseDao;
import org.springframework.data.repository.query.Param;

import java.math.BigDecimal;
import java.util.List;

public interface MerchantAccountDao extends BaseDao<MerchantAccount> {
    MerchantAccount findMerchantDefaultAccount(@Param("merchantUuid") String merchantUuid);

    List<MerchantAccount> findAllCanWithDrawAccount(@Param("minBalance") BigDecimal minBalance);
}
